package com.example.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.blog.entity.Reply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.entity.dto.reply.AddReplyDTO;
import com.example.blog.entity.dto.reply.PageQueryDTO;
import com.example.blog.entity.vo.comment.ReplyDetailIfoVO;

/**
 * <p>
 * 二级评论表 服务类
 * </p>
 *
 * @author wlh
 * @since 2024-01-10
 */
public interface ReplyService extends IService<Reply> {

    Long getNewCountByUser(Long userId);

    void delByComment(Long commentId);

    Long add(AddReplyDTO addReplyDTO);

    Page<ReplyDetailIfoVO> pageList(PageQueryDTO pageQueryDTO);

    void read();
}
